package com.czh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.czh.domain.ResponseResult;
import com.czh.domain.dto.QueryTagDto;
import com.czh.domain.entity.Tag;
import com.czh.domain.vo.TagPageVo;
import com.czh.domain.vo.TagVo;

import java.util.List;

/**
 * 标签(Tag)表服务接口
 *
 * @author makejava
 * @since 2024-03-28 09:31:05
 */
public interface TagService extends IService<Tag> {

    ResponseResult<TagPageVo> pageTagList(Integer pageNum, Integer pageSize, QueryTagDto queryTagDto);

    ResponseResult<Object> addTag(Tag tag);

    ResponseResult<Object> deleteTag(Long id);

    ResponseResult<Object> updateTagById(Tag tag);

    ResponseResult<TagVo> getTagById(Long id);

    ResponseResult<List<Tag>> listAllTag();

}

